<?php use_helper("SWFUpload", "Javascript"); ?>

<?php echo swf_upload_javascript("sfSWFUpload/upload",array("PHPSESSID" => "NONE"), array()); ?>

<div style="margin:20px; float: left; width: 400px;" > 

<?php echo swf_upload_standard_html(); ?>



<?php echo javascript_tag(
"function queueComplete() {
new Ajax.Updater('preview', '".url_for('sfSWFUpload/showUploads')."', {asynchronous:true, evalScripts:false});
}"
) ?> 

</div>

<div id="preview" style="float: left; width: 60%; margin: 20px;">
<?php include_partial('sfSWFUpload/simple_list_fotos', array('photos' => $photos, 'small_gallery_dir' => $small_gallery_dir )) ?>
</div>
